package com.fbs.job.admin.service;


import com.fbs.job.admin.core.entity.FbsJobInfo;
import com.fbs.job.core.model.ResultT;

import java.util.Map;

public interface JobInfoService  {


    Map<String, Object> pageList(int start, int length, int jobActuator, int triggerStatus, String jobDesc, String executorHandler, String author);

    FbsJobInfo getById(int id);

    ResultT<String> add(FbsJobInfo jobInfo);

    ResultT<String> stop(int id);

    ResultT<String> start(int id);

    ResultT<String> update(FbsJobInfo jobInfo);

    ResultT<String> delete(int id);
}
